<div id="cl-wrapper" class="login-container" style="opacity: 1; margin-left: 0px;">

  <div class="middle-login">
    <div class="block-flat">
      <div class="header">
        <h3 class="text-center">Catlog's session factory</h3>
      </div>
      <div>
        <%= form_tag backend_sessions_path, class: 'form-horizontal', style: 'margin-bottom: 0px !important;' do  %>
          <div class="content">
            <h4 class="title">Login Access</h4>
            <div class="form-group">
              <div class="col-sm-12">
                <div class="input-group">
                  <span class="input-group-addon"><i class="fa fa-envelope"></i></span>
                  <%= text_field_tag :email, nil, class:'form-control', placeholder: 'Email' %>
                </div>
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-12">
                <div class="input-group">
                  <span class="input-group-addon"> <i class="fa fa-lock"></i></span>
                  <%= password_field_tag :password, nil, class: 'form-control', placeholder: 'Password' %>
                </div>
              </div>
            </div>
          </div>
          <div class="foot">
            <%= submit_tag '登录', class: 'btn btn-primary', data: {dismiss: 'modal'} %>
          </div>
        <% end %>
      </div>
    </div>
    <div class="text-center out-links"><%= link_to 'Catlog 博客首页', root_path %></div>
  </div>

</div>